package com.zrrd.jt_admin.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrrd.jt_admin.common.entity.Manager;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ZhangYK
 * @version 8.0
 * @title ManagerMapper
 * @description
 * @create 2024/6/25 20:11
 */
@Mapper
public interface ManagerMapper extends BaseMapper<Manager> {
    /**
     * 登录查询，根据用户名
     * @param username
     * @return
     */
    Manager getManagerByUsername(String username);

    /**
     * 查询所有管理员信息
     * @return
     */
    List<Manager> getManagerList();


}
